package com.ruoyi.common.enums;

/**
 *  数据库类型
 *  @author andy  523333809@qq.com
 */
public enum DatabaseType {
//    SQLServer("com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    MySQL("com.mysql.cj.jdbc.Driver"),
    Oracle("oracle.jdbc.driver.OracleDriver"),
    PostgreSQL("org.postgresql.Driver"),
    DB2("com.ibm.db2.jcc.DB2Driver");

    private final String driverClass;

    DatabaseType(String driverClass) {
        this.driverClass = driverClass;
    }

    public String getDriverClass() {
        return driverClass;
    }
}
